#ifndef COMMON_HH_
# define COMMON_HH_

# include <SDL/SDL.h>
# include "tbb/spin_mutex.h"

# define HEIGHT (600)
# define WIDTH (800)

extern tbb::spin_mutex global_screen_mutex;

void setPixel(SDL_Surface	*affichage,
	      unsigned		x,
	      unsigned		y,
	      Uint32		coul);

void draw(Uint32		**img,
	  SDL_Surface		*affichage);

#endif /* !COMMON_HH_ */
